package homework.ooday02._cp.animal;

public class Test {
    public static void main(String[] args) {
        Dog d = new Dog("小狗",2,"黑白");
        d.eat();
        d.drink();
        d.lookHome();

        Chick c = new Chick("小鸡",1,"花");
        c.eat();
        c.drink();
        c.layEggs();

        Fish f = new Fish("小鱼",1,"白");
        f.eat();
        f.drink();
    }
}
